package com.whf.android.jar.constants;


import androidx.annotation.StringDef;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * Company:中再云图技术有限公司
 * <p>中再云</>
 * <p>app管理相关地址</>
 *
 * @author qf
 * @version 2023/11/22
 */
public final class AppConstant {

    /*** 后台直连 */
    private static final String SER_1 = "http://183.67.4.66:8010";

    /*** 前端代理 */
    private static final String SER = "http://183.67.4.66:8098/api";

    /*** 检查更新 */
    public static final String CHECK_VERSION = SER + "/api/app/checkVersion";

    /*** 历史信息 */
    public static final String CHECK_HISTORY = SER + "/api/app/getHistory?sort=create_time&order=desc&appId=";

    /*** 服务器地址获取 */
    public static final String TEST_SERVICE = SER + "/dicContent/getDicByCode?dicCode=";

    /*** 测试服务器地址 */
    public static final String TEST_SERVICE_NAME = TEST_SERVICE + "TEST_SERVICE";

    @StringDef({CHECK_VERSION, CHECK_HISTORY, TEST_SERVICE, TEST_SERVICE_NAME})
    @Retention(RetentionPolicy.SOURCE)
    public @interface App {
    }
}
